package com.sinodata.bsm.common.constants;

public interface ResConstants {
    /**
     * 资源暂停状态“0”为正常监控 “1”为暂停监控
     */
    public final static int RES_PAUSED = 1;

    public final static int RES_NOT_PAUSED = 0;

    /**
     * 资源暂停操作选项--定时暂停
     */
    public final static int RES_PAUSE_TYPE_TIM = 2;

    /**
     * 资源暂停操作选项--周期暂停
     */
    public final static int RES_PAUSE_TYPE_CYC = 1;

    /**
     * 资源暂停操作选项--全部
     */
    public final static int RES_PAUSE_TYPE_ALL = 0;

    /**
     * 资源健康度的小时级别
     */
    public final static int RES_HOUR_USABLE = 1;

    /**
     * 资源健康度的日级别
     */
    public final static int RES_DAY_USABLE = 2;

    /**
     * 资源健康度的月级别
     */
    public final static int RES_MONTH_USABLE = 3;

    /**
     * 资源健康度的年级别
     */
    public final static int RES_YEAR_USABLE = 4;

    /**
     * 健康度状态
     */
    public final static int NORMAL_USABLE = 1;

    public final static int BASICAL_USABLE = 2;

    public final static int MIDDLE_USABLE = 3;

    public final static int FEW_USABLE = 4;

    public final static int NOT_USABLE = 5;

    public final static String[] HEALTH_DESC = { "健康", "良好", "中等", "较差", "不可用" };
    /**
     * 健康度传递类型
     */
    public final static int NOT_TRANSFER = 0;

    public final static int STATUS_TRANSFER = 1;

    public final static int FIXED_TRANSFER = 2;

    public final static int MODULUS_TRANSFER = 3;

    /**
     * 健康度算法 0 优先算法、 1 平均算法。
     */
    public final static int PRE_ARITHMETIC = 0;

    public final static int AVG_ARITHMETIC = 1;

}
